public enum UserType {
    NORMAL(1.0),
    GOLD_CARD(0.8),
    SILVER_CARD(0.9);

    private double discount;

    UserType(double discount) {
        this.discount = discount;
    }

    public double getDiscount() {
        return discount;
    }
}